package org.zhucy.design.factory;

/**
 * Created by zcy on 2018/1/25.
 *
 * @version 1.0
 */
public class FactoryProducerTest {
    public static void main(String[] args) {
        AbstractFactory abstractFactory = FactoryProducer.getInstance();
        Color color = abstractFactory.getColor("R");
        color.fill();
    }
}
